//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#ifndef _doc_op_h
#define _doc_op_h

extern int IdentifyDoc (void);
extern int FormatDoc();
extern int FormatDocSafe();
extern int ReadIPL(int);
extern int WriteIPL(int);
extern int ReadSPL(int);
extern int WriteSPL(int);
extern int doc_info ();
extern int InsertProtectKey(int uPartitionNo, unsigned char *pKey);
extern int RemoveProtectKey(int uPartitionNo);
extern int DisableProtectKey();
extern int GetProtectInfo(int, unsigned char *pKey);
extern int ReadImage(int to);
extern int WriteImage(int from);
extern int ReadLogo(int ptr, int size);
extern int WriteLogo(int ptr, int size);
extern int ReadTatTable(unsigned char *buff);
extern int WriteTatTable(unsigned char *buff);

#endif //_doc_op_h
